package com.daffodil.monitor.controller.model;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author yweijian
 * @date 2022年10月19日
 * @version 2.0.0
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AppInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String status;
    
    private Float readyTime;
    
    private Float startedTime;
    
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    
    private Float uptime;
    
    private Integer cpuCount;
}
